<?php

class Emms_Admin_Client
{
    protected $_id;
    
    public function __construct() {
        $args = func_get_args();
        if(is_integer($args[0])) $this->_constructFromClientId($args[0]);
    }
        
    protected function _constructFromClientId($id)
    {
        $this->_id = $id;
    }
    
    public function getId()
    {
        return $this->_id;    
    }
    
    public function getRecord()
    {
        $clients = new Clients();
        return $clients->getRecord($this->_id);   
    }
    
    public function getActiveLoansCount()
    {
        
    }
    
}
